[INFO] cloning repository https://github.com/codeandplay/helium-miner-manager
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/codeandplay/helium-miner-manager" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcodeandplay%2Fhelium-miner-manager", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcodeandplay%2Fhelium-miner-manager'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 8cc21134fc836fc7d8d98df224e6d3c47dd79a48
[INFO] checking codeandplay/helium-miner-manager against master#82310651b93a594a3fd69015e1562186a080d94c for pr-145770
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcodeandplay%2Fhelium-miner-manager" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/codeandplay/helium-miner-manager
[INFO] finished tweaking git repo https://github.com/codeandplay/helium-miner-manager
[INFO] tweaked toml for git repo https://github.com/codeandplay/helium-miner-manager written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/codeandplay/helium-miner-manager on toolchain 82310651b93a594a3fd69015e1562186a080d94c
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/codeandplay/helium-miner-manager already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded parking_lot_core v0.9.2
[INFO] [stderr]   Downloaded tokio-macros v1.7.0
[INFO] [stderr]   Downloaded socket2 v0.4.4
[INFO] [stderr]   Downloaded quote v1.0.17
[INFO] [stderr]   Downloaded hermit-abi v0.1.19
[INFO] [stderr]   Downloaded num_cpus v1.13.1
[INFO] [stderr]   Downloaded log v0.4.16
[INFO] [stderr]   Downloaded signal-hook-registry v1.4.0
[INFO] [stderr]   Downloaded proc-macro2 v1.0.36
[INFO] [stderr]   Downloaded bytes v1.1.0
[INFO] [stderr]   Downloaded once_cell v1.10.0
[INFO] [stderr]   Downloaded mio v0.8.2
[INFO] [stderr]   Downloaded ntapi v0.3.7
[INFO] [stderr]   Downloaded parking_lot v0.12.0
[INFO] [stderr]   Downloaded memchr v2.4.1
[INFO] [stderr]   Downloaded lock_api v0.4.7
[INFO] [stderr]   Downloaded syn v1.0.90
[INFO] [stderr]   Downloaded smallvec v1.8.0
[INFO] [stderr]   Downloaded pin-project-lite v0.2.8
[INFO] [stderr]   Downloaded unicode-xid v0.2.2
[INFO] [stderr]   Downloaded miow v0.3.7
[INFO] [stderr]   Downloaded scopeguard v1.1.0
[INFO] [stderr]   Downloaded redox_syscall v0.2.13
[INFO] [stderr]   Downloaded tokio v1.17.0
[INFO] [stderr]   Downloaded libc v0.2.121
[INFO] [stderr]   Downloaded windows_x86_64_gnu v0.34.0
[INFO] [stderr]   Downloaded windows_i686_msvc v0.34.0
[INFO] [stderr]   Downloaded windows_i686_gnu v0.34.0
[INFO] [stderr]   Downloaded windows_aarch64_msvc v0.34.0
[INFO] [stderr]   Downloaded windows_x86_64_msvc v0.34.0
[INFO] [stderr]   Downloaded windows-sys v0.34.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 645928e000daf8a5a573f7461a846805a2c11f82a514d7d0c475434685d71acf
[INFO] running `Command { std: "docker" "start" "-a" "645928e000daf8a5a573f7461a846805a2c11f82a514d7d0c475434685d71acf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "645928e000daf8a5a573f7461a846805a2c11f82a514d7d0c475434685d71acf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "645928e000daf8a5a573f7461a846805a2c11f82a514d7d0c475434685d71acf", kill_on_drop: false }`
[INFO] [stdout] 645928e000daf8a5a573f7461a846805a2c11f82a514d7d0c475434685d71acf
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 690d1571c70379e0682ee8ae1c2da62ba48e187b84de8c2dc562764399ecdc2e
[INFO] running `Command { std: "docker" "start" "-a" "690d1571c70379e0682ee8ae1c2da62ba48e187b84de8c2dc562764399ecdc2e", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.121
[INFO] [stderr]    Compiling proc-macro2 v1.0.36
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling syn v1.0.90
[INFO] [stderr]    Compiling log v0.4.16
[INFO] [stderr]    Compiling parking_lot_core v0.9.2
[INFO] [stderr]    Compiling memchr v2.4.1
[INFO] [stderr]     Checking scopeguard v1.1.0
[INFO] [stderr]     Checking smallvec v1.8.0
[INFO] [stderr]     Checking pin-project-lite v0.2.8
[INFO] [stderr]     Checking once_cell v1.10.0
[INFO] [stderr]     Checking bytes v1.1.0
[INFO] [stderr]    Compiling lock_api v0.4.7
[INFO] [stderr]    Compiling quote v1.0.17
[INFO] [stderr]     Checking mio v0.8.2
[INFO] [stderr]     Checking num_cpus v1.13.1
[INFO] [stderr]     Checking socket2 v0.4.4
[INFO] [stderr]     Checking signal-hook-registry v1.4.0
[INFO] [stderr]     Checking parking_lot v0.12.0
[INFO] [stderr]    Compiling tokio-macros v1.7.0
[INFO] [stderr]     Checking tokio v1.17.0
[INFO] [stderr]     Checking helium-miner-manager v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `chrono`
[INFO] [stdout]  --> src/main.rs:4:52
[INFO] [stdout]   |
[INFO] [stdout] 4 |     let mut interval_timer = tokio::time::interval(chrono::Duration::days(1).to_std().unwrap());
[INFO] [stdout]   |                                                    ^^^^^^ use of unresolved module or unlinked crate `chrono`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `chrono`, use `cargo add chrono` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]   |
[INFO] [stdout] 1 + use crate::tokio::time::Duration;
[INFO] [stdout]   |
[INFO] [stdout] 1 + use std::time::Duration;
[INFO] [stdout]   |
[INFO] [stdout] 1 + use tokio::time::Duration;
[INFO] [stdout]   |
[INFO] [stdout] help: if you import `Duration`, refer to it directly
[INFO] [stdout]   |
[INFO] [stdout] 4 -     let mut interval_timer = tokio::time::interval(chrono::Duration::days(1).to_std().unwrap());
[INFO] [stdout] 4 +     let mut interval_timer = tokio::time::interval(Duration::days(1).to_std().unwrap());
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/main.rs:7:31
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn main() {
[INFO] [stdout]   | --------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 7 |         interval_timer.tick().await;
[INFO] [stdout]   |                               ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `do_my_task` in this scope
[INFO] [stdout]  --> src/main.rs:8:30
[INFO] [stdout]   |
[INFO] [stdout] 8 |         tokio::spawn(async { do_my_task().await; }); // For async task
[INFO] [stdout]   |                              ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `do_my_task` in this scope
[INFO] [stdout]  --> src/main.rs:9:40
[INFO] [stdout]   |
[INFO] [stdout] 9 |         tokio::task::spawn_blocking(|| do_my_task()); // For blocking task
[INFO] [stdout]   |                                        ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0728.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `helium-miner-manager` (bin "helium-miner-manager") due to 4 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `chrono`
[INFO] [stdout]  --> src/main.rs:4:52
[INFO] [stdout]   |
[INFO] [stdout] 4 |     let mut interval_timer = tokio::time::interval(chrono::Duration::days(1).to_std().unwrap());
[INFO] [stdout]   |                                                    ^^^^^^ use of unresolved module or unlinked crate `chrono`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `chrono`, use `cargo add chrono` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]   |
[INFO] [stdout] 1 + use crate::tokio::time::Duration;
[INFO] [stdout]   |
[INFO] [stdout] 1 + use std::time::Duration;
[INFO] [stdout]   |
[INFO] [stdout] 1 + use tokio::time::Duration;
[INFO] [stdout]   |
[INFO] [stdout] help: if you import `Duration`, refer to it directly
[INFO] [stdout]   |
[INFO] [stdout] 4 -     let mut interval_timer = tokio::time::interval(chrono::Duration::days(1).to_std().unwrap());
[INFO] [stdout] 4 +     let mut interval_timer = tokio::time::interval(Duration::days(1).to_std().unwrap());
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/main.rs:7:31
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn main() {
[INFO] [stdout]   | --------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 7 |         interval_timer.tick().await;
[INFO] [stdout]   |                               ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `do_my_task` in this scope
[INFO] [stdout]  --> src/main.rs:8:30
[INFO] [stdout]   |
[INFO] [stdout] 8 |         tokio::spawn(async { do_my_task().await; }); // For async task
[INFO] [stdout]   |                              ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `do_my_task` in this scope
[INFO] [stdout]  --> src/main.rs:9:40
[INFO] [stdout]   |
[INFO] [stdout] 9 |         tokio::task::spawn_blocking(|| do_my_task()); // For blocking task
[INFO] [stdout]   |                                        ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0728.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `helium-miner-manager` (bin "helium-miner-manager" test) due to 4 previous errors
[INFO] running `Command { std: "docker" "inspect" "690d1571c70379e0682ee8ae1c2da62ba48e187b84de8c2dc562764399ecdc2e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "690d1571c70379e0682ee8ae1c2da62ba48e187b84de8c2dc562764399ecdc2e", kill_on_drop: false }`
[INFO] [stdout] 690d1571c70379e0682ee8ae1c2da62ba48e187b84de8c2dc562764399ecdc2e
